package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataBigareaachiRecordDao;
import io.renren.entity.DataBigareaachiRecordEntity;
import io.renren.service.DataBigareaachiRecordService;



@Service("dataBigareaachiRecordService")
public class DataBigareaachiRecordServiceImpl implements DataBigareaachiRecordService {
	@Autowired
	private DataBigareaachiRecordDao dataBigareaachiRecordDao;
	
	@Override
	public DataBigareaachiRecordEntity queryObject(String id){
		return dataBigareaachiRecordDao.queryObject(id);
	}
	
	@Override
	public List<DataBigareaachiRecordEntity> queryList(Map<String, Object> map){
		return dataBigareaachiRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataBigareaachiRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(DataBigareaachiRecordEntity dataBigareaachiRecord){
		dataBigareaachiRecordDao.save(dataBigareaachiRecord);
	}
	
	@Override
	public void update(DataBigareaachiRecordEntity dataBigareaachiRecord){
		dataBigareaachiRecordDao.update(dataBigareaachiRecord);
	}
	
	@Override
	public void delete(String id){
		dataBigareaachiRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataBigareaachiRecordDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataBigareaachiRecordDao.deleteByMonth(month);
	}
	
}
